<template>
  <div class="topbar">
    <div class="warpper">
      <div class="topbar-content">
        <ToggleSidebar :color="color" />
        <i class="iconfont icon-sousuo" @click="funj()"></i>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      color:
        "display: inline-block; font-size: 0.42rem width:auto;height:auto;background-color: #f4f4f4;",
    };
  },
  methods: {
    funj() {
      this.$router.push("/rcebianlan");
    },
  },
};
</script>

<style scoped>
.topbar {
  width: 100%;
  height: 1.2rem;
  /* background-color: white; */
  background-color: #f4f4f4;
  position: fixed;
  /* opacity: 0.5; */
  /* z-index: 2; */
  z-index: 9999;
}
.warpper {
  /* background-color: plum; */
  margin: 0 auto;
  width: 6.86rem;
}
.topbar-content {
  line-height: 1.4rem;
  display: flex;
  justify-content: space-between;
}
i {
  font-size: 0.5rem;
}
</style>